package com.quhaodian.notice.data.service;

import com.quhaodian.notice.data.entity.UserNotificationCatalog;
import com.quhaodian.data.page.Filter;
import com.quhaodian.data.page.Order;
import com.quhaodian.data.page.Page;
import com.quhaodian.data.page.Pageable;
import java.util.List;

/**
* Created by imake on 2017年11月14日18:25:26.
*/
public interface UserNotificationCatalogService {

	UserNotificationCatalog findById(Integer id);

	UserNotificationCatalog save(UserNotificationCatalog bean);

	UserNotificationCatalog update(UserNotificationCatalog bean);

	UserNotificationCatalog deleteById(Integer id);
	
	UserNotificationCatalog[] deleteByIds(Integer[] ids);
	
	Page<UserNotificationCatalog> page(Pageable pageable);
	
	Page<UserNotificationCatalog> page(Pageable pageable, Object search);

	List<UserNotificationCatalog> findByTops(Integer pid);


    List<UserNotificationCatalog> child(Integer id,Integer max);

	List<UserNotificationCatalog> list(int first, Integer size, List<Filter> filters, List<Order> orders);

}